package com.asset.dispoal.poi.documentation.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * @author qr
 * @date 2022/4/14$
 */
@Data
public class DocumentationRequest {

    private String assetInstBatchId;

    @ApiModelProperty("类型（1代表司法文书，2代表要素表）")
    private String fileType;

    @ApiModelProperty("1代表案件出发，传递选择的合同id或文件，2代表委派批次出发，传递对应的案件Id或文件")
    private String type;

    private List<AgentRequest> agent;

    private String plaintiffId;

    @ApiModelProperty("方式，1传递id，2传递文件")
    private String mode;

    @ApiModelProperty("委派得批次id")
    private String appointId;

    @ApiModelProperty("选择的案件id")
    private Set<String> caseIdList;

    @ApiModelProperty("选择的合同Id")
    private Set<String> agreementIdList;

    @ApiModelProperty("模板id")
    private String templateId;

    @ApiModelProperty("下载文件名")
    private String fileName;

    @ApiModelProperty("打包的文件")
    private MultipartFile file;

    @ApiModelProperty("下载类型，0不合并合同，1合并合同")
    private String downloadType;

    @ApiModelProperty("是否用印，1用印，0不用印")
    private int seal;

    @ApiModelProperty("公式id")
    private String sueParameterId;
    @ApiModelProperty("过期时间")
    private String sueDate;

    @ApiModelProperty(hidden = true)
    private Map<String, Object> sueMap;
    @ApiModelProperty(hidden = true)
    private Map<String, Object> plaintiffMap;

    @ApiModelProperty(hidden = true)
    private List<Map<String,Object>> agentList;

    private String dzName;
    private String dzMobile;

}